package com.share.finance.risk.third.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.finance.risk.third.model.db.InterfaceConfig;
import com.share.finance.risk.third.model.vo.InterfacePageReq;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2022-07-27
 */
public interface IInterfaceConfigService extends IService<InterfaceConfig> {
    Object init();

    InterfaceConfig getInterfaceConfig(String intId);

    Object exeGroovyScript(String fieldId, String method, Object param);

    String calcFee(String intId, String result);

    Map<String, String> mapChannelParam(String intId);

    Page pageList(InterfacePageReq req);
}
